const  foods = {
  state:{
    count:0
  },
  getters:{
    count:state => state.count
  },
  mutations:{
    add:function (state) {
      state.count++
    },
    remove:function (state) {
      state.count--
    }


  }

}
export default foods;
